import QtQuick
import QtQuick3D
import Quick3DAssets.Steve as Model

import Utils
import "./Animation"

CharacterModelBase{

    property alias movement : aniControl.movement
    property alias rightHand : idHacker.rightHand
    property alias handled : aniControl.handled

    Node {
        id: __materialLibrary__
    }

    Model.Steve{
        id:model

        IdHacker{
            id:idHacker
            target: model
            property Node rightHand

            property Texture tex_steve_png_texture
            Component.onCompleted: {
                tex_steve_png_texture.magFilter = Texture.Nearest
            }

        }
    }

    TPSAnimationControl{
        //动画控制器
        id:aniControl
        target: model
    }
}
